package com.sky.mapper;

import com.sky.entity.SetmealDish;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ClassName: setMealDishMapper
 * Description:
 *
 * @Author HTAO
 * @Create 2023/11/2 18:43
 */
@Mapper
public interface SetMealDishMapper {

    List<Long> selectByDishIds(List<Long> iDs);

    void insert(List<SetmealDish> setmealDishs, Long setmealId);

    @Delete("delete from setmeal_dish where setmeal_id = #{id}")
    void delete(Long id);
}
